<template>
  <div class="middle-part">
    <h3>{{title}}</h3>
    <h6>
      {{content}}
    </h6>
    <img :src="src" class="pic-img" />
  </div>
</template>

<script>
export default {
  name: 'DownloadContent',
  props: {
    title: {
      type: String,
      default: ''
    },
    content: {
      type: String,
      default: ''
    },
    src: {
      type: String,
      default: ''
    }
  }
}
</script>

<style scoped>
  .middle-part {
    padding: 1.2rem 0 .6rem;
    border-bottom: 1px solid #f0f0f0;
    text-align: center;
  }
  .middle-part>h3 {
    font-size: .48rem;
    line-height: 1.6;
  }
  .middle-part>h6 {
    font-size: 15px;
    font-weight: 300;
    padding: .2rem .6rem .5rem;
    line-height: .5rem;
  }
  .middle-part>div {
    padding-bottom: .3rem;
  }
  .pic-img {
    width: 100%;
    max-width: 100%;
    padding-bottom: .3rem;
  }
</style>
